See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

buffer
The source location of the data to write.
See Also Languages PowerTCP Email Validation for .NET

Write(Byte[]) Method

Dart.PowerTCP.EmailValidation Namespace > EnhancedStream Class > Write Method : Write(Byte[]) Method

Writes a sequence of bytes to the Stream and returns when the operation is complete.

[Visual Basic]
Overloads Public Sub Write( _    ByVal buffer() As Byte _ )
[C#]
public void Write(    byte[] buffer );
[C++]
public: void Write(    byte[]* buffer )
[C++/CLI]
public: void Write(    bytearray<buffer>^ buffer )

Parameters

buffer
The source location of the data to write.

Exceptions

ExceptionDescription
IOExceptionThrown when the Stream is not writable.
ArgumentNullExceptionThrown when the buffer is null.
ArgumentOutOfRangeExceptionThrown when the offset is less than zero or when count is less than or equal to zero.
ArgumentExceptionThrown when the (offset + count) > buffer.Length.

Remarks

This method is a convenience overload for all derived classes by writing the entire buffer to the Stream. This method calls Write(buffer, 0, buffer.length).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

EnhancedStream Class  | EnhancedStream Members  | Overload List


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.